#!/bin/bash

. functions

SYS_ROOT=$2

if [[ "${SYS_ROOT:0-1}" == "/" ]]; then
    SYS_ROOT=${SYS_ROOT%?}
fi

file_list=`find $1`
for file in $file_list
do
    copy_depend $file
done

